Define = {
  "TIME": "timestamp",
  "TYPE": "type",
  "GANTRY": "sn",
  "PLATE": "licenseCode"
}

ConfigData = {
  "redis_host": "10.102.1.113",
  "redis_port": 6379,
  "redis_pd": 0,
  "redis_password": "Wanji@300552!",
  "redis_channel": "ceshi001",
  "format_str": "%Y-%m-%dT%H:%M:%S.%f",
  "save_path": "/home/gj/Download/新建文件夹/log",
  "threshold": {
    "flow": 0.33,
    "speed": 0.3,
    "pass_rate": 70,
    "slow_num": 5
  },
  "route": [["10001", "10002", "10003", "10005", "10006"]],
  "gantry_info": {
    "10001": {
      "up_gantry_id": "HW7",
      "down_gantry_id": "XZ1",
      "time_interval": 1,
      "time_move": 0.25,
      "dist": 2,
      "car_pass_time": 2,
      "car_max_speed": 100,
      "car_min_speed": 70
    },
    "10002": {
      "up_gantry_id": "XZ1",
      "down_gantry_id": "XZ2",
      "time_interval": 1,
      "time_move": 0.25,
      "dist": 2,
      "car_pass_time": 2,
      "car_max_speed": 100,
      "car_min_speed": 70
    },
    "10003": {
      "up_gantry_id": "XZ2",
      "down_gantry_id": "XZ4",
      "time_interval": 1.5,
      "time_move": 0.25,
      "dist": 3,
      "car_pass_time": 3,
      "car_max_speed": 100,
      "car_min_speed": 70
    },
    "10005": {
      "up_gantry_id": "XZ4",
      "down_gantry_id": "XZ5",
      "time_interval": 1,
      "time_move": 0.25,
      "dist": 1.8,
      "car_pass_time": 1.8,
      "car_max_speed": 100,
      "car_min_speed": 70
    },
    "10006": {
      "up_gantry_id": "XZ5",
      "down_gantry_id": "ZW3",
      "time_interval": 1.5,
      "time_move": 0.25,
      "dist": 2.4,
      "car_pass_time": 2.5,
      "car_max_speed": 100,
      "car_min_speed": 70
    }
  }
}

MinSpeed = {
  "car": 60,
  "bus": 50,
  "truck": 50
}